Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discover] Update async search response type #8781

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Nov 1, 2024

Description

Update async search response type

Issues Resolved

This is a fast followup PR for #8777 based on the comment #8777 (comment). Adds a type check on response of jobs API in async search strategies.

Screenshot

Testing the changes

Changelog

  • fix: Update async search response type

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

joshuali925
joshuali925 previously approved these changes Nov 1, 2024
Copy link
Member

@joshuali925 joshuali925 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing blocking

Copy link

codecov bot commented Nov 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.75%. Comparing base (3381dcd) to head (306cd4f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8781   +/-   ##
=======================================
  Coverage   60.75%   60.75%           
=======================================
  Files        3798     3798           
  Lines       90690    90690           
  Branches    14277    14277           
=======================================
  Hits        55101    55101           
  Misses      32090    32090           
  Partials     3499     3499           
Flag Coverage Δ
Linux_1 29.05% <ø> (ø)
Linux_2 56.39% <ø> (ø)
Linux_3 37.61% <ø> (ø)
Linux_4 29.82% <ø> (ø)
Windows_1 29.07% <ø> (ø)
Windows_2 56.34% <ø> (ø)
Windows_3 37.61% <ø> (ø)
Windows_4 29.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ps48 ps48 marked this pull request as ready for review November 1, 2024 05:17
@ananzh ananzh merged commit affd265 into opensearch-project:main Nov 1, 2024
68 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 1, 2024
* update async search reponse type

Signed-off-by: Shenoy Pratik <[email protected]>

* Changeset file for PR #8781 created/updated

* remove explicit type declaration

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit affd265)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
amsiglan pushed a commit to amsiglan/OpenSearch-Dashboards that referenced this pull request Nov 1, 2024
* update async search reponse type

Signed-off-by: Shenoy Pratik <[email protected]>

* Changeset file for PR opensearch-project#8781 created/updated

* remove explicit type declaration

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
abbyhu2000 pushed a commit that referenced this pull request Nov 12, 2024
* update async search reponse type



* Changeset file for PR #8781 created/updated

* remove explicit type declaration



---------



(cherry picked from commit affd265)

Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants